package com.atgion.spzx.model.entity.ImageManagement;

import com.atgion.spzx.model.vo.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@TableName("image")
public class Images extends BaseEntity {

    @Schema(description = "ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "分类名")
    private String fileName ;
    @Schema(description = "存储路径")
    private String filePath ;
    @Schema(description = "文件大小")
    private Integer fileSize ;
    @Schema(description = "文件类型")
    private String mimeType ;

    @Schema(description = "分类id")
    private Integer categoryId;

    @Schema(description = "视频&图片")
    private Integer isVideo ;
}